#include "MaterialUnlitNodeView.h"

#include "MaterialGraph/UnlitNode/MaterialUnlitNodeViewModel.h"

void RMaterialUnlitNodeView::BindViewModel(TSharedObjectPtr<RMaterialGraphNodeViewModel> InModel)
{
    Super::BindViewModel(InModel);
    UnlitViewModel = InModel;
}

void RMaterialUnlitNodeView::RegenerateContentWidget()
{
    Super::RegenerateContentWidget();

    auto ColorLine = CreateColorInputPinWidget(
        RootWidget, RootWidget, 0, 1);

    auto OpacityLine = CreateVector1DInputPinWidgetWithLimit(
        RootWidget, RootWidget, 1, 2, 0.0f, 1.0f);  
}
